﻿using System;
using Game1942.Library.Background;
using Game1942.Library.Weapons;

namespace Game1942.Library.Planes
{
    public class ImprovedCaza : Caza
    {
        public ImprovedCaza(Point value) : base(value){}

        public ImprovedCaza()
        {
        }

        public override void Shoot()
        {
            var adaptableTorpedo = new AdaptableTorpedo(new Point(ActualPosition.X + 30, ActualPosition.Y + 90), playerTeam, false);
            Driver.Instance.AddLiveUnit(adaptableTorpedo, Constants.AdaptableTorpedo.Width, Constants.AdaptableTorpedo.Height, Constants.AdaptableTorpedo.ViewName); 
        
        }
    }
}
